<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue中的数据代理</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div class="app">
      {{ name }} - {{ address }}
    </div>
</body>
<script>
    Vue.config.productionTip = false
    const vm = new Vue({
        el: '.app',
        data: {
          name: '尚硅谷',
          address: '北京',
        }
    })
</script>
</html>